﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LoginAJMotor.aspx.cs" Inherits="IYAKASAPortal.Login.LoginAJMotor" %>
<%@ Register src="LoginedList.ascx" tagname="LoginedList" tagprefix="uc1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
    <title>安检摩托车登录</title> 
     <script type="text/javascript" src="../script/jquery-3.2.1.min.js"></script>
    <link type="text/css" rel="Stylesheet" href="../support/tfNiceTable/tfNiceTable.css" />
    <script type="text/javascript" src="../support/tfNiceTable/tfNiceTable.js"></script>
    <script type="text/javascript" src="../script/jquery.select.js"></script>
        <style type="text/css">
            .auto-style1 {
                height: 28px;
            }
        </style>
    </head>
    <body style="overflow-y: auto">
    <div>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
         <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:HiddenField runat="server" ID="hidID" />
                 <asp:HiddenField runat="server" ID="hidGCID" />
                <asp:HiddenField runat="server" ID="hidKeyValue" />
                <asp:HiddenField ID="hidWGItems" runat="server" />
                 <asp:HiddenField ID="hidDTItems" runat="server" />
                    <asp:HiddenField ID ="hidDtdp_Pd" runat="server" />
                <asp:HiddenField  ID="hidWGAllJYXM" runat="server"/>
                <table border="0" width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="main_title_left"></td>
                        <td class="main_title_center keep">&nbsp;成都弥荣科技发展有限公司--安检检验登录</td>
                        <td class="main_title_right"></td>
                    </tr>
                </table>
                 <table width="100%" cellpadding="0" cellspacing="0" border="0" class="mainWidth">
                 <tr>
                     <td align="center">
                           <table border="1" cellspacing="0" cellpadding="3" class="tfNiceTable">
                             <thead>
                                    <tr class="tfNiceTable_head_style">
                                        <td colspan="4" align="left" class="keep">★<asp:Label ID="lblLineNum" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                </thead>
                                <tbody style="background-color: white;">
                                    <tr>
                                        <td align="right" style="width: 15%">检验类别</td>
                                        <td align="left" style="width: 35%">
                                            <asp:DropDownList runat="server" ID="drpTestType"></asp:DropDownList><span style="color: red">*</span>新车请选择注册登记检测</td>
                                            <td align="right" style="width: 15%">安检流水号</td>
                                            <td align="left" style="width: 35%"><asp:TextBox ID="txtAJLSH" runat="server" Width="200px" CssClass="csstextboxreadonly" ReadOnly="true"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td align="right" class="auto-style1">号牌号码</td>
                                        <td align="left" class="auto-style1">
                                            <asp:TextBox ID="txtHPHMStart" runat="server" Width="39px" CssClass="csstextbox toUpper" Text=""></asp:TextBox><asp:TextBox ID="txtHPHM" runat="server" CssClass="csstextbox toUpper" Width="100px" TabIndex="1"></asp:TextBox><span style="color: red">*</span>
                                            <span style="color: blue" id="resultInfo"></span>
                                        </td>
                                        <td align="right" class="auto-style1">号牌种类</td>
                                        <td align="left" class="auto-style1">
                                            <asp:DropDownList ID="drpHPZL" runat="server" >
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                         <td align="right">VIN（或车架）码</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtVIN" runat="server" CssClass="csstextbox toUpper" TabIndex="2"  ></asp:TextBox><span style="color: red">*</span>
                                        </td>
                                          <td align="right">
                                            <asp:CheckBox runat="server" ID="chkSFLW" Text="是否联网" />
                                        </td>
                                        <td align="left">
                                            <asp:Button ID="btnSearch" runat="server" Text="" CssClass="btnSearch" OnClick="btnSearch_Click" />
                                        </td>
                                    </tr>
                                    <thead>
                                        <tr class="tfNiceTable_head_style">
                                            <td colspan="4" align="left" class="keep">★基础信息</td>
                                        </tr>
                                    </thead>
                                    <tr>
                                        <td align="right" style="width: 15%">车辆种类</td>
                                        <td align="left" style="width: 35%">
                                            <asp:DropDownList ID="drpCLZL" runat="server">
                                            </asp:DropDownList>

                                        </td>
                                        <td align="right" style="width: 15%">所有人</td>
                                        <td align="left" style="width: 35%">
                                            <asp:TextBox ID="txtSYR" runat="server" CssClass="csstextbox"  Width="300px" TabIndex="3"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">住址</td>
                                        <td align="left" colspan="3">
                                            <asp:TextBox ID="txtAddress" runat="server" CssClass="csstextbox" Width="500px" TabIndex="4"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 15%">使用性质</td>
                                        <td align="left" style="width: 35%">
                                            <asp:DropDownList ID="drpSYXZ" runat="server">
                                            </asp:DropDownList>
                                        </td>
                                        <td align="right" style="width: 15%">品牌</td>
                                        <td align="left" style="width: 35%">
                                            <asp:TextBox ID="txtPP" runat="server" CssClass="csstextbox" TabIndex="5"></asp:TextBox><span style="color: red">*</span>
                                            型号<asp:TextBox ID="txtXH" runat="server" CssClass="csstextbox toUpper" TabIndex="6"  ></asp:TextBox>
                                            <span style="color: red">*</span>
                                            <asp:LinkButton runat="server" ID="btnSearchPPXH" Text="查询" OnClick="btnSearchPPXH_Click" ></asp:LinkButton>
                                        </td>
                                         
                                    </tr>
                                    <tr>
                                        <td align="right">发动机/电动机码</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtFDJNumber" runat="server" CssClass="csstextbox toUpper" TabIndex="7"  ></asp:TextBox><span style="color: red">*</span>
                                        </td>
                                        <td align="right" style="width:15%">核定载人数/核定载质量</td>
                                        <td align="left" style="width: 35%">
                                            <asp:TextBox ID="txtHZRS" runat="server" CssClass="csstextbox" Width="70" TabIndex="10"></asp:TextBox>
                                            <span style="color: red">*</span> (人)                                         
                                            <asp:TextBox ID="txtHDZZL" runat="server" CssClass="csstextbox" Width="70" TabIndex="13"></asp:TextBox>
                                            (kg)</td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 15%">出厂日期</td>
                                        <td align="left" style="width: 35%">
                                            <asp:TextBox ID="txtCCRQ" runat="server" CssClass="csstextbox" onclick="InitData('#txtCCRQ')" TabIndex="8"></asp:TextBox>
                                        </td>
                                        <td align="right" style="width: 15%">初始登记日期</td>
                                        <td align="left" style="width: 35%">
                                            <asp:TextBox ID="txtCSDJRQ" runat="server" CssClass="csstextbox" onclick="InitData('#txtCSDJRQ')" TabIndex="9"></asp:TextBox><span style="color: red">*</span>
                                        </td>
                                    </tr>
                                    <tr>                                      
                                        <td align="right" style="width: 15%">总质量/整备质量</td>
                                        <td align="left" style="width: 35%">
                                            <asp:TextBox ID="txtZZL" runat="server" CssClass="csstextbox" Width="70" TabIndex="11"></asp:TextBox>
                                            <span style="color: red">*</span>(kg) 
                                            <asp:TextBox ID="txtZBZL" runat="server" CssClass="csstextbox" Width="70" TabIndex="12"></asp:TextBox>
                                            <span style="color: red">*</span>(kg)</td>
                                        <td align="right" style="width: 15%">是否有驾驶室</td>
                                        <td align="left" style="width:35%">
                                            <asp:DropDownList ID="drpSFYJSS" runat="server" AutoPostBack="True" ></asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 15%">燃料类别</td>
                                        <td align="left" style="width: 35%">
                                            <asp:DropDownList ID="drpRLLB" runat="server"></asp:DropDownList>
                                        </td>
                                        
                                            <td align="right" style="width:15%">前照灯制</td>
                                            <td align="left" style="width: 35%">
                                            <asp:DropDownList ID="drpQZDZ" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpQZDZ_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </td>
                                        
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 15%">累计行驶里程</td>
                                        <td align="left" style="width: 35%" >
                                            <asp:TextBox ID="txtLJXSLC" runat="server" CssClass="csstextbox" TabIndex="18"></asp:TextBox>
                                            （km）
                                        </td>
                                        <td align="right">
                                            发动机冲程
                                        </td>
                                        <td>
                                            <asp:DropDownList runat="server" ID ="drpFDJCC"></asp:DropDownList>
                                        </td>
                                    </tr>
                                    
                                    <tr>
                                        <td align="right" style="width: 15%">当前检测形式</td>
                                        <td align="left" style="width: 35%" >
                                            <div style="float:left">
                                                <div style="float:left">
                                            <asp:RadioButtonList runat="server" ID="rbtnTest" RepeatDirection="Horizontal"  CssClass="noborder">
                                                <asp:ListItem Text="初检" Value="0" Selected="True"></asp:ListItem>
                                                 <asp:ListItem Text="复检" Value="1"></asp:ListItem>
                                            </asp:RadioButtonList></div>
                                            <div style="float:left;vertical-align:middle; line-height:20px;">&nbsp;&nbsp;检测次数:<asp:Label runat="server" ID="lblJCCS" Text="0"></asp:Label></div>
                                                </div>
                                             </td>
                                        <td align="right">引车员：</td>
                                   
                                        <td align="left">
                                            <asp:DropDownList runat="server" AutoPostBack="true" ID="drpYCY"></asp:DropDownList>
                                        </td>
                                    </tr>
                                     <tr>
                                        <td align="right">登录员</td>
                                        <td align="left"><asp:TextBox runat="server" ID="txtDLY" Enabled="false"></asp:TextBox></td>
                                        <td></td>
                                        <td></td>
                                    </tr>
                                    <thead>
                                        <tr class="tfNiceTable_head_style">
                                            <td colspan="2" align="left" class="keep">★安检项目<asp:CheckBox runat="server" ID="chkAll" Text="全选/全不选" AutoPostBack="True" OnCheckedChanged="chkAll_CheckedChanged" />
                                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:LinkButton ID="btnFilter" runat="server" Text="筛选" OnClick="btnFilter_Click"></asp:LinkButton>
                                            </td>
                                            <td align="right"><span>选择模板</span></td>
                                            <td align="left">
                                                <asp:RadioButtonList ID="rbtnTemplate" runat="server" RepeatDirection="Horizontal"  AutoPostBack="true" CssClass="noborder" OnSelectedIndexChanged="rbtnTemplate_SelectedIndexChanged"></asp:RadioButtonList>
                                            </td>
                                        </tr>
                                    </thead>
                                    <tr>
                                        <td align="right" style="width: 15%">检验项目</td>
                                        <td align="left" style="width: 35%" colspan="3" id="tdJYXM" class="noborder">
                                            <asp:CheckBoxList runat="server" ID="chkJYXM" CssClass="table_without_border" RepeatDirection="Horizontal" RepeatColumns="8" AutoPostBack="True" OnSelectedIndexChanged="chkJYXM_SelectedIndexChanged"></asp:CheckBoxList>
                                        </td>
                                    </tr>
                                    <tr runat="server" id="trOperater" >
                                        <td align="center" colspan="4" > 
                                            <asp:Button runat="server" ID="btnSave" CssClass="btnSaveEnabled" OnClick="btnSave_Click" Text="" />&nbsp;&nbsp;&nbsp;
                                            <asp:Button runat="server" ID="btnSend" Enabled="true" Text="" CssClass="btnSendEnabled" OnClick="btnSend_Click" />&nbsp;&nbsp;&nbsp;
                                            <asp:Button runat="server" ID="btnReset" Text="" CssClass="btnResetEnabled" OnClick="btnReset_Click" />
                                        </td>
                                    </tr>
                                  <div id="divLoginList" runat="server" visible="false">
                                       <tr>
                                           <td colspan="4">
                                               <uc1:LoginedList ID="LoginedList1"  runat="server" />
                                           </td>
                                       </tr>
                                    </div>                                  
                                </tbody>
                     </td>
                 </tr>
                 </table>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
    </div>
</body>

</html>
<script type="text/javascript" src="../support/jedate/jedate.min.js"></script>
<script type="text/javascript" src="../script/Login.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        GetData("txtHPHMStart", "txtHPHM", "drpHPZL");
        GetPP("txtPP", "txtXH");
        GetXH("txtPP", "txtXH");

        $('#txtHPHM').on('input on', function () {
            GetData("txtHPHMStart", "txtHPHM", "drpHPZL");
        });

        $('#txtPP').on('input on', function () {
            GetPP("txtPP", "txtXH");
        });

        $('#txtXH').on('input on', function () {
            GetXH("txtPP", "txtXH");
        }); 

        $('#normal').click(function () { keepfont(); });
        $('#larger').click(function () { larger(); });

    });

    var prm = Sys.WebForms.PageRequestManager.getInstance();
    prm.add_endRequest(function () {
        GetData("txtHPHMStart", "txtHPHM", "drpHPZL");
        GetPP("txtPP", "txtXH");
        GetXH("txtPP", "txtXH");

        $('#txtHPHM').on('input on', function () {
            GetData("txtHPHMStart", "txtHPHM", "drpHPZL");
        });

        $('#txtPP').on('input on', function () {
            GetPP("txtPP", "txtXH");
        });

        $('#txtXH').on('input on', function () {
            GetXH("txtPP", "txtXH");
        });

        $('#normal').click(function () { keepfont(); });
        $('#larger').click(function () { larger(); });
    });
</script>
